package models

import ()

type UserSessionInfo struct {
	SessionId string
	UserInfo  *map[string]interface{}
}

type GetCurrentUserCommand struct {
	SessionId string
}

type UserRecivedInfo struct {
	HasSession  bool                   `json:"hasSession"`
	Message     string                 `json:"message"`
	Object      UserRecivedObjectInfo  `json:"object"`
	OperateTime int64                  `json:"operateTime"`
	PageInfo    interface{}            `json:"pageInfo"`
	ReturnCode  string                 `json:"returnCode"`
	SmsString   string                 `json:"smsString"`
	Success     bool                   `json:"success"`
}

type UserRecivedBasicInfo struct {
	Department   string    `json:"department"`
	Position     string    `json:"position"`
	Name         string    `json:"name"`
	Telphone     string    `json:"telphone"`
}

type UserRecivedCardInfo struct {
	EduInfo    []interface{}         `json:"eduInfo"`
	ExpInfo    []interface{}         `json:"expInfo"`
	Resume     string                `json:"resume"` 
	BasicInfo  UserRecivedBasicInfo  `json:"basicInfo"`
}


type UserRecivedObjectInfo struct {
	Id            string               `json:"_id"`
	CustomerId    []interface{}        `json:"customerId"`
	CardInfo       UserRecivedCardInfo `json:"cardInfo"`
	Email          string              `json:"email"`
	Name           string              `json:"name"`
	Alphabet       string              `json:"alphabet"`
	AssociationCCO []interface{}       `json:"associationCCO"`
	Type           []interface{}       `json:"type"`
	ClientId       []interface{}       `json:"clientId"`
	OpenId         []interface{}       `json:"openId"`
	FirstAlphabet  string              `json:"firstAlphabet"`
	Telphone       string              `json:"telphone"`
	CreateTime     int64               `json:"createTime"`
	ModifyTime     int64               `json:"modifyTime"`
	Status         string              `json:"status"`
	MainTenantCode string              `json:"mainTenantCode"`
	Tenants        []string            `json:"tenants"`
	PlayRole       []string            `json:"playRole"`
	Circle         []string            `json:"circle"`
	LastLogin      int64               `json:"lastLogin"`
	Language       string              `json:"language"`
	AppId          string              `json:"appId"`
	DeviceId       string              `json:"deviceId"`
	UserCollection interface{}           `json:"userCollection"`
}

